Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable static + thread-safe on Windows w/ CMake (#3622) #3631

Merged
merged 4 commits into from
Oct 4, 2023

Conversation

derobins
Copy link
Member

@derobins derobins commented Oct 3, 2023

The thread-safety feature on Windows requires a hook in DllMain() and thus is only available when HDF5 is built as a shared library.

This was previously a warning, but has now been elevated to a fatal error that cannot be overridden with ALLOW_UNSUPPORTED.

Fixes GitHub #3613

The thread-safety feature on Windows requires a hook in DllMain() and thus
is only available when HDF5 is built as a shared library.

This was previously a warning, but has now been elevated to a fatal error
that cannot be overridden with ALLOW_UNSUPPORTED.

Fixes GitHub HDFGroup#3613
@derobins derobins added Merge Use this label when a PR is for a downstream merge Priority - 0. Blocker ⛔ This MUST be merged for the release to happen Component - Build CMake, Autotools Type - Improvement Improvements that don't add a new feature or functionality Branch - 1.12 labels Oct 3, 2023
Fixes a mistake where SHARED builds were disabled in CMake
@derobins derobins merged commit fc55020 into HDFGroup:hdf5_1_12 Oct 4, 2023
29 checks passed
brtnfld pushed a commit to brtnfld/hdf5 that referenced this pull request Oct 5, 2023
…Group#3631)

* Disable static + thread-safe on Windows w/ CMake (HDFGroup#3622)

The thread-safety feature on Windows requires a hook in DllMain() and thus
is only available when HDF5 is built as a shared library.

This was previously a warning, but has now been elevated to a fatal error
that cannot be overridden with ALLOW_UNSUPPORTED.

Fixes GitHub HDFGroup#3613
@derobins derobins deleted the 12_windows_static_threadsafe branch March 27, 2024 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - Build CMake, Autotools Merge Use this label when a PR is for a downstream merge Priority - 0. Blocker ⛔ This MUST be merged for the release to happen Type - Improvement Improvements that don't add a new feature or functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants